package cn.itcast.hotel.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @author ：xiaoZhou
 * @ClassName : PageResult
 * @date ：Created in 2021/12/17 19:16
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageResult {
    private Long total;//返回查询到的结果条数
    private List<HotelDoc> hotels; //查询到的数据
}
